package lab02.test13;

public class Test {
        public static void main(String[] args) {
            int n=10;
            double []data=new double[n];
            for(int i=0;i<n;i++){
                data[i]=i;
            }
            ComputerAverage g=new Gymnastics(data);
            System.out.println(g.average(data));

            for(int i=0;i<n;i++){
                data[i]=i;
            }
            ComputerAverage s=new School(data);
            System.out.println(s.average(data));
        }
    }
